import React from 'react';

import PropTypes from 'prop-types'
class Button extends React.Component {
    static contextTypes = {
      theme:PropTypes.string,
      num:PropTypes.number
    }
    render() {
      console.log(this.context)
        return <div className=''>
              <button>{this.props.children||'按钮'}</button>
        </div>;
    }
}
export default Button